'Declaration Public Overloads Overrides NotOverridable Function GetBytes( _ ByVal ordinal As Integer, _ ByVal dataOffset As Long, _ ByVal buffer() As Byte, _ ByVal bufferOffset As Integer, _ ByVal length As Integer _ ) As Long
'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim dataOffset As Long Dim buffer() As Byte Dim bufferOffset As Integer Dim length As Integer Dim value As Long value = instance.GetBytes(ordinal, dataOffset, buffer, bufferOffset, length)
public override long GetBytes( int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length )
public: int64 GetBytes( int ordinal, int64 dataOffset, array<byte>^ buffer, int bufferOffset, int length ) override
Parameters
- ordinal
- Column ordinal (see TdDataReader.GetOrdinal).
- dataOffset
- The index within the field from which to begin the read operation.
- buffer
- The buffer into which to copy the field.
- bufferOffset
- The index for the buffer to begin the copy operation.
- length
- The maximum length to copy into the buffer.
Return Value
Returns the number of bytes read and stored into the buffer.